/* Mobile Layout: 480px and below. */
html,
body {
  box-sizing: border-box;
  height: auto;
}

h2,
h3,
a {
  color: #660000;
}
img,
object,
embed,
video,
iframe {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/*Container layout rules*/
#column_layout {
  display: flex;
  flex-wrap: wrap;
  height: 57%;
}
section,
aside {
  padding: 0.3em;
  margin: 0.6em;
  border: inset 2px rgba(0, 0, 0, 0.8);
}
#single_column {
  flex-basis: 46%;
}
#section_one {
  flex: 1;
}
#section_one {
  flex: 2;
}
aside {
  flex: 3;
}

/*Table Rules*/
caption {
  caption-side: top;
  font-family: "Rubik Glitch", Verdana, Geneva, Tahoma, sans-serif;
  font-size: xx-large;
  text-transform: uppercase;
  padding: 10px;
}

table {
  max-width: 970px;
  width: 98%;
  margin-left: auto;
  margin-right: auto;
  padding: 2%;
  border: 2px solid #660000;
  border-collapse: collapse;
}
thead {
  font-family: "Doto", Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 100;
}

th {
  color: rgb(255, 255, 255);
  background-color: #660000;
  text-align: center;
}
td,
th {
  display: inline-table;
  width: auto;
  height: auto;
  text-align: center;
}
td {
  border-bottom: 2px solid #660000;
}
td > a {
  color: rgb(18, 0, 113);
}
.alternate tr {
  color: rgba(236, 154, 255, 0.4);
  background-color: rgba(255, 248, 210, 1);
}
.alternate tr:nth-child(2n) {
  background-color: rgba(0, 87, 106, 0.14);
  color: rgba(255, 248, 210, 1);
}
.alternate tr:nth-child(2n):hover {
  background-color: white;
  color: black;
}
.alternate tr:hover {
  background-color: white;
  color: #660000;
}
/* ================================= 
  Media Queries
==================================== */
@media (min-width: 344px) {
  .header,
  .main-nav {
    display: flex;
  }
  td,
  th {
    display: table-cell;
    flex-shrink: 1;
    flex-direction: row;
  }
  td {
    border: 5px solid #660000;
  }
  #column_layout {
    flex-direction: row;
    flex-wrap: wrap;
    height: 100%;
    flex-basis: 100%;
  }
  #section_one,
  #section_two {
    flex-basis: 48%;
  }
  aside {
    flex-basis: 98%;
  }
  .header {
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    max-width: 1150px;
  }
}

@media (min-width: 1025px) {
  .header {
    flex-direction: row;
    justify-content: space-between;
  }
  #section_one {
    flex-basis: 34%;
  }
  #section_two {
    flex-basis: 32%;
  }
  aside {
    flex-basis: 26%;
  }
  #fixed_size {
    width: 1800px;
    height: 500px;
    overflow: auto;
    margin-left: auto;
    margin-right: auto;
  }
}

table,
td,
th {
  padding: 8px;
  border-spacing: 10px;
  border: solid 3px #660000;
  border-collapse: collapse;
}
td {
  border: solid 1px rgba(0, 0, 0, 0.11);
}
tfoot {
  background-color: rgba(140, 0, 255, 0.16);
  font-family: "Syne-Regular", Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bold;
}

tr:nth-child(2n) {
  background-color: #d3d3d3;
}
tr:hover {
  color: #660000;
}

.batman {
  background-color: rgba(255, 218, 133, 0.62);
}
